<template>
  <div class="iframe-container">
    <iframe id="iframeContainer" :src="url" frameborder="0" scrolling="no" />
    <!-- <div class="title">测试</div> -->
  </div>
</template>

<script>
import api from "../../api/api";
import { ref } from "vue";
export default {
  name: "basetable",
  setup() {
    const url = ref(
      api.getUnoUrl +
        "/thing/external/operation/poclogin?loginCode=admin&targetUrl=/thing/screen/index.html?name=工学院"
    );
    // window.open(url,'_blank')
    return {
      url,
    };
  },
};
</script>

<style lang="less" scoped>
.iframe-container {
  width: 100%;
  height: 100%;
}
#iframeContainer {
  position: absolute;
  z-index: 9;
  width: 100%;
  height: 100%;
}
.title {
  position: relative;
  z-index: 99;
}
</style>
